<fieldset>
<legend> Network security: LAN Manager authentication level</legend>
<select id="policy_lmcompatlevel_select" name="policy.lmcompatlevel" width="95%" class="opt_item">
    <option value="-" selected="selected">-</option>
    <option value="0">Send LM & NTLM responses</option>
    <option value="1">Send LM & NTLM - use NTLMv2 session security if negotiated</option>
    <option value="2">Send NTLM response only</option>
    <option value="3">Send NTLMv2 response only</option>
    <option value="4">Send NTLMv2 response only. Refuse LM</option>
    <option value="5">Send NTLMv2 response only. Refuse LM & NTLM</option>
</select>
</fieldset>
<br/>

<div style="margin-left:20px">
  <label><input type="checkbox" name="component.PPPoE" class="opt_item"> PPPoE(ADSL)</label>
</div>
<br/>

<fieldset>
<legend><label><input type="checkbox" name="network.trayicon" class="opt_item" /> Network Tray Icon</label></legend>
<div style="margin-left:20px">
    <label><input type="checkbox" name="network.trayicon_lan" class="opt_item" /> LAN</label>
    <label><input type="checkbox" name="network.trayicon_wlan" class="opt_item" /> WLAN</label><br/>
    <label><input type="checkbox" name="network.hide_system_tray_icon" class="opt_item" /> Hide the system network tray icon</label>
</div>
</fieldset>
<br/>
<fieldset>
<legend><label><input type="checkbox" name="network.full_functional" class="opt_item" /> Full Functional Network</label></legend>
<div style="margin-left:20px">
    <label><input type="checkbox" name="network.function_discovery" class="opt_item" /> Enable Network Discovery</label><br/>
    <label><input type="checkbox" name="network.networklist_and_sharecenter" class="opt_item" /> Network And Share Center</label>
    <div style="margin-left:36px">
        <li>Control Panel Item</li>
    </div>
</div>
</fieldset>
<br/>
<fieldset>
<legend><label><input type="checkbox" name="network.builtin_drivers" class="opt_item" /> Built-in Network Drivers</label></legend>

<div style="margin:5px">
<label style="width:10rem;display:inline-block">
<input type="radio" class="opt_item" name="network.type_builtin_drivers" value="default" checked="checked" /> Default
</label>
<button class="pure-button pure-button-primary" 
  onclick="open_edit($app_root + '\\' + $obj_patch.path + '\\netdrivers_default.txt')">
  <label class="edit" /> netdrivers_default.txt
</button>
<br/>
<br/>
<label style="width:10rem;display:inline-block">
<input type="radio" style="width:20px" class="opt_item" name="network.type_builtin_drivers" value="custom" /> Custom
</label>
<button class="pure-button pure-button-primary" 
  onclick="open_netdrivers_custom_file()">
  <label class="edit" /> netdrivers_custom.txt
</button>
</div>
</fieldset>

<script>

(function() {
    $("#policy_lmcompatlevel_select").selectmenu();
    $("#policy_lmcompatlevel_select").selectmenu( "option", "width", '95%' );
})();

function open_netdrivers_custom_file() {
    var custom_file = $obj_project.appdata_full_path + '/netdrivers_custom.txt';
    if (!fso.FileExists(custom_file)) {
        var template_file = $app_root + '/' + $obj_patch.path + '/netdrivers_custom.txt';
        fso.CopyFile(template_file, custom_file);
    }
    open_edit(custom_file);
}
</script>
